import 'package:bookshelf/generated/json/base/json_convert_content.dart';
import 'package:bookshelf/entity/up_request_entity.dart';

UpRequestEntity $UpRequestEntityFromJson(Map<String, dynamic> json) {
	final UpRequestEntity upRequestEntity = UpRequestEntity();
	final String? uid = jsonConvert.convert<String>(json['uid']);
	if (uid != null) {
		upRequestEntity.uid = uid;
	}
	final String? no = jsonConvert.convert<String>(json['no']);
	if (no != null) {
		upRequestEntity.no = no;
	}
	final String? place = jsonConvert.convert<String>(json['place']);
	if (place != null) {
		upRequestEntity.place = place;
	}
	final String? placeName = jsonConvert.convert<String>(json['placeName']);
	if (placeName != null) {
		upRequestEntity.placeName = placeName;
	}
	final bool? isfirst = jsonConvert.convert<bool>(json['isfirst']);
	if (isfirst != null) {
		upRequestEntity.isfirst = isfirst;
	}
	return upRequestEntity;
}

Map<String, dynamic> $UpRequestEntityToJson(UpRequestEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['uid'] = entity.uid;
	data['no'] = entity.no;
	data['place'] = entity.place;
	data['placeName'] = entity.placeName;
	data['isfirst'] = entity.isfirst;
	return data;
}